<template>
  <div class="empty" :style="'height:calc(' + height + ')'">
    <div class="emptyel">
      <el-empty :image-size="200" :description="title"></el-empty>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    height: {
      type: String,
      default: "100vh - 84px",
    },
    title: {
      type: String,
      default: "敬请期待...",
    },
  },
};
</script>

<style lang="scss" scoped>
.empty {
  position: relative;
  height: calc(100vh - 84px);
  .emptyel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
</style>